// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import ".."
Item {
    property int seconds: dateInSeconds
    width: 200
    height: 500
    Utils {
        id: utils
    }

    Rectangle {
        anchors.fill: parent
        anchors.margins: 4
        Text {
            color: "gray"
            x: 3
            y: 3
            text: day
            font.pixelSize: 20
        }
        Text {
            color: "gray"
            x: 3
            y: 26
            text: utils.getDayOfWeek(dayOfWeek)
            font.pixelSize: 10
        }
        border.width: 1
        border.color: "lightgray"
        ListView {
            id: grid
            y: 50
            x: 3
            width: parent.width -10
            height: parent.height - y

            model: jobsModel
            delegate: Rectangle {
                width: grid.width
                height: 40
                Text {
                    clip: true
                    width: parent.width
                    anchors.fill: parent
                    text: name
                }

            }
        }

    }
}
